home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_09 / sound.h < prev    next >
Text File  |  1995-01-01  |  2KB  |  55 lines

  1. ' *****************************************************************
  2. ' **   Name:         Sound.H                                     **
  3. ' **   Type:         Include File to ADLPLAY.BAS                 **
  4. ' **   Purpose:      Define  SubRoutines and Constants           **
  5. ' **   Language      MicroSoft QuickBasic 4.5                    **
  6. ' *****************************************************************
  7. '
  8.  
  9. DECLARE SUB Soundcard CDECL (BYVAL s0 AS INTEGER, BYVAL s1 AS INTEGER, BYVAL s2 AS INTEGER, BYVAL s3 AS INTEGER, BYVAL s4 AS INTEGER, BYVAL s5 AS INTEGER)
  10. DECLARE SUB Initialize ()
  11. DECLARE SUB StartTime ()
  12. DECLARE SUB Tempo (beats)
  13. DECLARE SUB SetVoice (voice%)
  14. DECLARE SUB PlayNote (note%, duration%, delay%, AfterH%, AfterL%)
  15. DECLARE SUB StartSong ()
  16. DECLARE SUB SetMode (Mode%)
  17. DECLARE SUB Setinstrument (ARRAY%(), InsName$, num%, den%, ptr%)
  18. DECLARE FUNCTION StripCString$ (CString$)
  19. DECLARE SUB SetBack (Char%, Attr%)
  20. DECLARE SUB Strip (InsFile$)
  21. DECLARE SUB OpenScreen ()
  22.  
  23.  
  24. CONST FSDINIT = 0
  25. CONST FSDRELTIMESTART = 2
  26. CONST FSDSETSTATE = 3
  27. CONST FSDGETSTATE = 4
  28. CONST FSDFLUSH = 5
  29. CONST FSDSETMODE = 6
  30. CONST FSDGETMODE = 7
  31. CONST FSDSETRELVOLUME = 8
  32. CONST FSDSETTEMPO = 9
  33. CONST FSDSETTRANPOSE = 10
  34. CONST FSDGETTRANSPOSE = 11
  35. CONST FSDSETACTVOICE = 12
  36. CONST FSDGETACTVOICE = 13
  37. CONST FSDPLAYNOTEDEL = 14
  38. CONST FSDPLAYNOTE = 15
  39. CONST FSDSETTIMBRE = 16
  40. CONST FSDSETPITCH = 17
  41. CONST FSDSETTICKBEAT = 18
  42. CONST FSDNOTEON = 19
  43. CONST FSDNOTEOFF = 20
  44. CONST FSDTIMBRE = 21
  45. CONST MAXPARAMETERS = 1200
  46. CONST MELODIC = 0
  47. CONST PERCUSSIVE = 1
  48. CONST MAXVOICES = 10
  49. CONST NULL = 0
  50. CONST NOTEOFFSET = 60
  51. CONST PARAMETERS = 26
  52. CONST CARDON = 1
  53. CONST CARDOFF = 0
  54.  
  55.